Find File
Command Prototype
arrayRet = File.SearchFile(sPath,sFileName,bIsDeep)
Command Description
Find a file in the specified path and returns an array of found files, each element in the array being the full path to the found file. The file to find supports wildcards such as *.png, similar to the system's search function
Parameter Description
- Required Parameter
- sPath--The path to a file
- sFileName--Filename to find, support the wildcard *
- bIsDeep--Whether to use deep search, if Yes is chosen, it will continue to search the folders under the given path, until it reaches the root file
- return
- arrayRet--The variable used to save the output of the function call